.modal-content {
    background: #ffffff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-body {
    padding: 0;
    position: relative;
}

.video-container {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #006eb3;
    border-radius: 0 0 20px 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* External Close Button */
.external-close {
    position: fixed;
    top: 15px;
    right: 155px;
    width: 52px;
    height: 52px;
    background: #ffffff;
    color: #333;
    border: 3px solid #009CFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 25px #006eb3;
    transition: all 0.4s ease;
    z-index: 9999;
}

.external-close:hover {
    background: #006eb3;
    color: white;
    transform: rotate(90deg) scale(1.08);
}

/* @media (max-width: 575.98px) { */
@media (min-width: 220px) and (max-width: 480px){

.alert-danger {
        margin-top: 50px;  
        font-size: 12px;
        padding: 10px; 
        animation: showAndClose 5s forwards;
    }

    @keyframes showAndClose {
        0% { opacity: 1; visibility: visible; }
        70% { opacity: 1; visibility: visible; } /* Stays fully visible until 13.5s (90%) */
        100% { opacity: 0; visibility: hidden; } /* Fades out and hides at 15s */
    }
    #mainNav {
        padding: 5px;
    }
    .masthead {
        padding-top: 85px;
        padding-bottom: 35px;
    
    }
    .masthead{
        .h1{
            font-size: 26px;
            text-align: center;
            line-height: 35px;
        }
    }
   
    .lead p {
        font-size: 16px;
        padding-top: 5px;
    }

    .trial-section, .banner{
        /* padding-bottom: 30px; */
        display: none !important;
    }

    .trial-section-xs, .banner-xs{
        padding-top: 20px;
        display: block !important;
    }

    .trial-section-xs{
        padding-bottom: 10px;
    }

    .quote{
        padding: 40px 0px;
    }

    .quote h2{
        font-size: 20px;
        line-height: 35px;
    }
    
    .youtube{
        padding-top: 40px;
    }

    .play-button {
        left: 42%; 
        top: 37%;
    }
    .youtube svg{
        width: 55px;
        height: 55px;
    }

    .advantage{
        padding: 30px 0px;
    }

    .counter-section{
        text-align: -webkit-center;
        margin-bottom: 50px;
    }
    .stat-number {
        font-size: 20px;
        margin: 5px 0px;
    }

    .stat-label{
        font-size: 14px;
    }

    .features{
        padding: 5px 0px;
    }
    .external-close {
        position: fixed;
        top: 295px;
        right: 5px;
        width: 40px;
        height: 40px;
    }

    .underline-tabs .nav-link {
        padding: 8px;
    }

    .underline-tabs .btn-lg{
        padding: 6px 5px;
        font-size: 16px;
    }

    .qustion{
        padding: 30px 0px;
    }
    .accordion-header p{
        font-size: 16px !important;

    }
    .contact{
        padding: 30px 0px;
    }

    .chat-now-btn {
        padding: 8px 11px;
    }

    .whatsapp-widget {
        padding: 8px 12px;
    }

    .display-md-lg{
        display: none !important;
    }

    .form-control{
        padding: 10px !important;
    }

    /* Login Page */
    /* ============= */

    .login-section{
        padding-top: 35px;
    }

}
@media (min-width: 481px) and (max-width: 768px){

     #mainNav {
        padding: 5px;
    }
    .masthead {
        padding-top: 85px;
        padding-bottom: 35px;
    
    }
    .masthead{
        .h1{
            font-size: 26px;
            text-align: center;
            line-height: 35px;
        }
    }
   
    .lead p {
        font-size: 16px;
        padding-top: 5px;
    }

    .trial-section, .banner{
        /* padding-bottom: 30px; */
        display: none !important;
    }

    .trial-section-xs, .banner-xs{
        padding-top: 20px;
        display: block !important;
    }

    .trial-section-xs{
        padding-bottom: 10px;
    }

    .external-close {
        position: fixed;
        top: 295px;
        right: 5px;
        width: 40px;
        height: 40px;
    }

    .display-md-lg{
        display: none !important;
    }

    .form-control{
        padding: 10px !important;
    }

    /* Login Page */
    /* ============= */

    .login-section{
        padding-top: 35px;
    }

    
}

@media (min-width: 769px){

    .trial-section, .banner{
        display: block !important;
    }

    .trial-section-xs, .banner-xs{
        display: none !important;
    }

}